package com.dmlll.service.impl;

import com.dmlll.dao.NationMapper;
import com.dmlll.pojo.Nation;
import com.dmlll.pojo.Province;
import com.dmlll.service.NationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NationServiceImpl implements NationService {
    @Autowired
    private NationMapper nationMapper;
    @Override
    public List<Nation> loadAllNation() {
        return nationMapper.selectAll();
    }
}
